`make install` fails apparently due to typo, but not in makefile: How to find and fix?
Posted
by
Archelon
on Ask Ubuntu
See other posts from Ask Ubuntu
or by Archelon
Published on 2013-09-17T16:51:09Z
Indexed on
2014/05/28
4:04 UTC
Read the original article
Hit count: 319
I'm trying to install the fujitsu-usb-touchscreen drivers from here, on Kubuntu 12.04 on my new Fujitsu LifeBook P1630. (See fujitsu-usb-touchscreen on kubuntu 13.04 (64-bit) on P1630: `make` errors.) I downloaded the .zip file, unzipped it, and ran make
in the directory thus created; this all worked as expected. However, when I run sudo checkinstall
(which invokes make install
), things go less well. On the first attempt the installation aborted with the following error:
make: execvp: /etc/init.d/fujitsu_touchscreen: Permission denied
make: *** [install] Error 127
I eventually resolved this by
$ sudo chmod +x /etc/init.d/fujitsu_touchscreen
But although a second sudo checkinstall
then does not give the execvp
error, it still fails at a later stage, and the log (on stdout) shows this dpkg
error:
dpkg: error processing /home/archelon/fujitsu-touchscreen-driver/cybergene-fujitsu-usb-touchscreen-112fdb75b406/cybergene-fujitsu-usb-touchscreen-112fdb75b406_amd64.deb (--install):
unable to create `/sys/module/fujitsu/usb/touchscreen/parameters/touch_maxy.dpkg-new' (while processing `/sys/module/fujitsu/usb/touchscreen/parameters/touch_maxy'): No such file or directory
And, indeed, there is no /sys/module/fujitsu/usb/touchscreen/parameters/touch_maxy
; there is, however, /sys/module/fujitsu_usb_touchscreen/parameters/touch_maxy
, and this is presumably what was intended. But this incorrect filename does not appear in the makefile or any other file in the directory, at least not that I can find. Nor does it appear, as I discovered after running sudo checkinstall --install=no
as suggested below, in the .deb package created by checkinstall.
Where might such a typographical error be originating, and how would I go about fixing it?
Edited to add: I'm viewing the contents of the .deb file with ark
, Kubuntu's default tool. It contains only three files: control.tar.gz
, data.tar.gz
, and debian-binary
. data.tar.gz
contains the directory tree that appears to match up to the usual root filesystem, with /etc, /lib, /sys, and /usr directories. (Looking at other .deb files on my system, this structure appears to be typical.) Here's a screenshot:
.
(Full size.)
Here's another screenshot showing that control.tar.gz
contains three files, one of which is empty:
.
(Full size.)
Here's the actual .deb file: https://www.dropbox.com/s/odwxxez0fhyvg7a/cybergene-fujitsu-usb-touchscreen_112fdb75b406-1_amd64.deb
Edited 2013-09-28 to add:
After reinstalling Kubuntu 12.04 again, this time recreating the /home partition (which, again, had been generated during an install of 13.04), I can no longer reproduce this error. I am still curious to know how the underscores got changed to slashes, but it looks as though nobody has any idea. It is perhaps also of interest to note that while I have still not successfully run checkinstall
against this package, I have done make install
; it requires the executabilization of /etc/init.d/fujitsu_touchscreen
and the installation of hal
, and the GUI freezes shortly after installation completes, and there is no particular new functionality afterwards that I have noticed, and the system can no longer resume from being suspended; however, this will be pursued elsewhere.
© Ask Ubuntu or respective owner